iconview: Don't shrink items
authorBenjamin Otte <otte@redhat.com>
Sun, 10 Jun 2012 14:28:47 +0000 (16:28 +0200)
committerBenjamin Otte <otte@redhat.com>
Thu, 14 Jun 2012 05:41:39 +0000 (07:41 +0200)
commitec755541ab695ce6cde530cf2d8ad5f031de85d1
tree89ca95f5597fde2254421f5c0e59ad919d7a80d6
parentad63d1b59ee5da3b0a962d6ea315c032873b6b29
iconview: Don't shrink items

The previous code assumed that the width was always enough for more than
one column, which is obviously not correct when a number of columns is
hardcoded.

With this patch, it will now always check that the width is enough and
otherwise cause scrolling.

https://bugzilla.gnome.org/show_bug.cgi?id=677809
gtk/gtkiconview.c